<?php
include"config.php";
		
		$id = $_POST['id'];
		$code=$_POST['code'];
		$detail = $_POST['detail'];
		$status = $_POST['status'];
		$date = $_POST['date'];
				
		$sql="update tbl_heuristik set code = '$code', date = '$date', detail = '$detail', status = '$status' where id_heuristik = '$id'";
		$res=mysql_query($sql) or die (mysql_error());
		header("location:index.php?page=heuristik");
		
?>